import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';


export default async function a008(fd: IFeidaoAiBrowserComponent) {
	// 列表全选按钮

	const v = fd.data.node.querySelector<HTMLInputElement>('[data-feidao-id="checkall"]').checked;
	// console.log(v);
	const all_boxs = fd.data.node.querySelectorAll('[data-feidao-name="list_checkbox"]');
	Array.from(all_boxs).forEach((ipt: HTMLInputElement) => {
		ipt.checked = v;
	});

}
